import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as Message from '@/utils/messagePlugin.js'
import App from './App.vue'

const app = createApp(App)
app.use(ElementPlus)
// 注入全局方法 消息提示
app.config.globalProperties.$msgSuccess = Message.msgSuccess
app.config.globalProperties.$msgWarning = Message.msgWarning
app.config.globalProperties.$msgInfo = Message.msgInfo
app.mount('#app')
